package com.vhall.component.entity.redpacket.vo;


import com.vhall.component.framework.common.annotation.ParamName;
import lombok.Data;
import org.hibernate.validator.constraints.Length;

import javax.validation.constraints.NotBlank;

/**
 * 获取红包我的领取详情请求
 *
 * @author shenqing
 * @date 2021/3/2 19:54
 */
@Data
public class RedPacketRecordReqVO {
    /**
     * PaaS应用ID
     */
    @ParamName("app_id")
    @NotBlank
    @Length(min = 1, max = 100)
    private String appId;

    /**
     * 红包唯一标识ID，对外暴露接口使用这个字段
     */

    @ParamName("red_packet_id")
    @NotBlank
    @Length(min = 32, max = 32)
    private String redPacketUuid;

    /**
     * 创建红包的第三方用户ID
     */
    @ParamName("third_party_user_id")
    @NotBlank
    @Length(min = 1, max = 255)
    private String thirdPartyUserId;
}
